/*
 *课后作业——码农有道
 *2）写程序测试表达式的值

 int a,b,c;
 
  a=30;
  b=20;
 
  c=(a > b);
  printf("c=%d\n",c);
 
  c=(a < b);
  printf("c=%d\n",c);
  printf("c=%d\n",(a < b));
 
  c=(a=50);
  printf("c=%d\n",c);
 */
#include<stdio.h>
int main()
{
  int a,b,c;
  a=30,b=20;
  c=(a>b);
  printf("c=%d\n",c);
  c=(a<b);
  printf("c=%d\n",c);
  printf("c=%d\n",(a<b));
  c=(a=50);
  printf("c=%d\n",c);

return 0;
}

